home *** CD-ROM | disk | FTP | other *** search
- From: arrouye@marin.fdn.fr (Yves Arrouye)
- Message-ID: <ARROUYE.96Feb18152057@marin.fdn.fr>
- X-Original-Date: 18 Feb 1996 14:20:57 GMT
- Path: in2.uu.net!bounce-back
- Date: 19 Feb 96 01:33:41 GMT
- Approved: fjh@cs.mu.oz.au
- Newsgroups: comp.std.c++
- Subject: Re: #ifdef XXXX
- Organization: Personal site
- References: <1996Feb1.092058.4745@iiasa.ac.at> <9602020740.22411@mulga.cs.mu.OZ.AU>
- <9602141406.AA16760@sparc5.ferndown.ate.slb.com>
- <4fukhs$fc3@hermes.acs.unt.edu>
- In-Reply-To: johnw@jove.acs.unt.edu's message of 15 Feb 96 12:07:00 GMT
- X-Auth: PGPMoose V1.1 PGP comp.std.c++
- iQBFAgUBMSfTjuEDnX0m9pzZAQFLGAF/ZuIm/DJJdpC7UUmfJKrxyzotcL8cyG+5
- wtrvmg9dJoe+ikjyvwepYpOnsyktuXUw
- =aV6q
-
- In article <4fukhs$fc3@hermes.acs.unt.edu> johnw@jove.acs.unt.edu
- (John R. Williams) writes:
-
- devitto@ferndown.ate.slb.com wrote:
- > What about Bjarne's idea of "include" as a keyword that only has the
- > effect of a #include if the file has not been "include"d already.
-
- > I suppose the idea is that the compiler builds a table (like gcc does for
- > wrapped includes) - pretty simple really.
-
- > Ideas about why this won't work ???
-
- Personally I'll continue to advocate "#once" to prevent multiple
- inclusion of a header for these reasons:
-
- So instead of adding yet another preprocessor directive, why not use
- Objective C's #import which does exactly that? (I know this is also a
- reason for *not* using it in order to make clear that the header file
- is a C++ one, but I don't tjink it will be sooo confusing).
-
- YA.
- --
- Yves Arrouye | arrouye@marin.fdn.fr | http://www-scope.imag.fr/~arrouye
- 7, av. Leon Bollee +-----------------------+---------+------------------------
- 75013 Paris | Home voice: +33 1 53 61 09 55 | Fax: +33 1 53 61 09 55
- France | Please use these only between 8:00 AM and 11:00 PM, MET!
- ---
- [ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu.
- Contact address: std-c++-request@ncar.ucar.edu. Moderation policy:
- http://reality.sgi.com/employees/austern_mti/std-c++/policy.html. ]
-